# tell/plugs/entry.py
#
#

""" record entry of lived events. """

## tell imports

from tell.utils import strtotime

## basic import

import time

## entry callbacks

def entry(event):
    t = strtotime(event.input)
    if t: event.enteredtime = t ; event.reply("time set at %s" % time.ctime(t))
    event.save()

entry.otype = "cb"
entry.trigger = "CONSOLE"
